package com.kfpanda.search.index.context;

import java.util.List;

/**
 * <b>ClassName:<b> IndexBean
 * <br><b>Description: <br>
 * 索引配置文件index.xml中的index元素配置实体。
 * @Author: kfpanda
 * @Date：2012-1-23 下午08:21:18
 * @ModifyUser：kfpanda
 */
public class IndexBean {
	private String id;
	private String type;
	private String path;
	private String cronExpression;
	
	private List<ResourceBean> resources;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getCronExpression() {
		return cronExpression;
	}
	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}
	/**
	 * @return the resources
	 */
	public List<ResourceBean> getResources() {
		return resources;
	}
	/**
	 * @param resources the resources to set
	 */
	public void setResources(List<ResourceBean> resources) {
		this.resources = resources;
	}
}
